package com.zsj.custom;


/**
 * @Author zsj
 * @Version 1.0
 * @Date 2024/3/24 13:55
 * @Description
 */
public class CollectionsIsFullException extends RuntimeException {
    public CollectionsIsFullException(String message) {
        super(message);
    }


    public CollectionsIsFullException() {
        throw new CollectionsIsFullException("this box is full");
    }

    @Override
    public String getMessage() {
        return super.getMessage();
    }
}
